@import "theme";
@import "var";

body, html, app-root, .site, mat-drawer-container {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: $my-dashboard-background;
}

body, html, code {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Lantinghei SC", "Microsoft Yahei", "Hiragino Sans GB", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans, serif;
}

.site {
  display: flex;
  flex-direction: column;
  background-color: $my-dashboard-background;
}

main {
  flex: 1;
  overflow: hidden;
  router-outlet {
    width: 0;
  }
  > * {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

.dashboard-background {
  background: $my-dashboard-background;
}

.mat-dialog-container {
  background: $my-dashboard-background;
}

.fill-remaining-space {
  flex: 1 1 auto;
}
